﻿using System.Collections.Generic;
using System.Data;
using IDAL;
using Model;

namespace BLL
{
    public class TAssembleDetail
    {
        private static readonly ITAssembleDetail dal = DALFactory.DataAccess.CreateTAssembleDetail();

        public bool TAssembleDetailItems_Insert(TAssembleDetailInfo ad, DataTable itemdt)
        {
            return dal.TAssembleDetailItems_Insert(ad, itemdt);
        }

        public IList<TAssembleDetailInfo> GetTAssembleDetailbySN(string productSN)
        {
            return dal.GetTAssembleDetailbySN(productSN);
        }
    }
}
